﻿
@{
    Layout = null;
}

<!DOCTYPE html>

<html>
<head>
	<meta name="viewport" content="width=device-width" />
	<title>Index</title>
	<script src="~/lib/jquery/dist/jquery.js"></script>
	<link href="~/lib/kindeditor-4.1.10/themes/default/default.css" rel="stylesheet" />
	<script src="~/lib/kindeditor-4.1.10/kindeditor.js"></script>
	<script src="~/lib/kindeditor-4.1.10/lang/zh_CN.js"></script>
</head>
<body>
	<div class="form-horizontal col-sm-12">

		<textarea rows="8" class="form-control" name="Content" id="Content" style="width:950px;height:500px;visibility:hidden;"></textarea>


	</div>
	<script>
		KindEditor.ready(function (K) {
			window.NewsContent = K.create("#Content", {
				cssPath: '/lib/kindeditor-4.1.10/plugins/code/prettify.css',
				uploadJson: '/File/KindEditorImgUpload?saveDir=news_content',
				fileManagerJson: '/lib/kindeditor-4.1.10/asp.net/file_manager_json.ashx',
				allowFileManager: true,
				afterCreate: function () {
					this.sync();
				},
				afterBlur: function () {
					this.sync();
				}
			});
			$(".ke-container").addClass("form-control");
		});

	
	</script>
</body>
</html>
